package com.huangliusong.desigin.pattern.creational.abstractfactoru;

/**
 * @author huangliusong
 * @since 2018/10/10
 * {@link }
 */
public class Test {
    public static void main(String[] args) {
        CourseFactory courseFactory=new JavaCourseFactory();
        Article article=courseFactory.getArticle();
        Video video=courseFactory.getVideo();
        video.produce();
        article.produce();

    }
}
